﻿using System;
using System.Collections.Generic;
using System.ComponentModel.DataAnnotations;
using System.Linq;
using System.Text;

namespace Classified.Domain.Entities
{
   public class TopView
    {
       [Key]
       public int Id { get; set; }
       public int ClassifiedId { get; set; }
       public bool IsFeaturePost { get; set; }
       public DateTime CreatedDate { get; set; }

       [ForeignKey("ClassifiedId")]
       public virtual ClassifiedAd ClassifiedAds { get; set; }
   
    }
}
